home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 5
/
Merciful - Disc 5.iso
/
software
/
r
/
real_3d
/
real3dv3.3b.dms
/
real3dv3.3b.adf
/
RPL.LZH
/
RPL
/
sys
/
objects.rpl
< prev
next >
Wrap
Text File
|
1995-07-21
|
4KB
|
115 lines
( ----------------------------------------------------
( FILE: objects.rpl
( DESCRIPTION: Definitions for Real 3D Objects
( PLATFORM: AMIGA
( VERSION: 2.4
( DATE: 16-Dec-93
( ----------------------------------------------------
( Copyright © 1993,1994 Realsoft. All rights reserved
( ----------------------------------------------------
?& OBJECTS.RPL NOT ?IF
17 CONSTANT OBJECTS.RPL
( Geometry Flags for primitives
2 0 POW CONSTANT wGF_CLOSEU ( close freeform in u direction
2 1 POW CONSTANT wGF_CLOSEV ( close surface in v direction
2 8 POW CONSTANT wGF_SECTOR ( sector primitive
2 9 POW CONSTANT wGF_PERIODC ( open evaluation
( Freeform Types
0 CONSTANT wFT_POLYGON ( polygonal line/surface
1 CONSTANT wFT_PHONG ( polygonal based phong shaded surface
3 CONSTANT wFT_BSPLINE ( cubical B-Spline
( Object Flags
2 0 POW CONSTANT lOF_INVERTED ( the volume of object is inverted
2 1 POW CONSTANT lOF_PAINTED ( Boolean with material
2 2 POW CONSTANT lOF_WFINVISIBLE ( Invisible in editor
2 3 POW CONSTANT lOF_LIGHTSOURCE ( lightsource
2 4 POW CONSTANT lOF_HOLLOW ( Hollow object (surface representation)
2 5 POW CONSTANT lOF_INFINITE
2 6 POW CONSTANT lOF_SCENE ( Invisible in first stage ray tracing
2 7 POW CONSTANT lOF_RTINVISIBLE ( Control element, invisible in RT
2 8 POW CONSTANT lOF_PROTECTL2 ( Protected agains move, color etc.
2 9 POW CONSTANT lOF_NOBP1 ( No bottom
2 10 POW CONSTANT lOF_NOBP2 ( No cover
2 11 POW CONSTANT lOF_TEXTURE ( Texture mapping descr.
2 12 POW CONSTANT lOF_SECTOR ( Sector primitive
2 13 POW CONSTANT lOF_PROTECTED ( protected against deletion etc.
2 14 POW CONSTANT lOF_SEGMENT ( Only quadr. surface is rendered
2 15 POW CONSTANT lOF_NOTREFL ( Not reflected by other objects
2 16 POW CONSTANT lOF_COLLINV ( Collision invisible
2 17 POW CONSTANT lOF_MOTION ( motion blurred object
2 18 POW CONSTANT lOF_SHADOWLESS ( does not cast shadows
2 19 POW CONSTANT lOF_MATTE ( background colored object
2 20 POW CONSTANT lOF_BSPLANE ( B-Spline bounded polygon evaluation
2 21 POW CONSTANT lOF_BUMPSHADOWS ( modify shadows in bump maps
2 22 POW CONSTANT lOF_NOTINSHADOW ( receive shadows property
2 23 POW CONSTANT lOF_TRIMCURVE ( curve defining space volume
2 24 POW CONSTANT lOF_BBOX ( bounding box
( Object Types
1 CONSTANT wOT_AND
2 CONSTANT wOT_OR
10 CONSTANT wOT_RECTANGLE
11 CONSTANT wOT_CUBE
12 CONSTANT wOT_PYRAMID
13 CONSTANT wOT_CUTPYRAMID
14 CONSTANT wOT_POLYGON
15 CONSTANT wOT_POLYHEDRON
16 CONSTANT wOT_POLYMID
17 CONSTANT wOT_CUTPOLYMID
18 CONSTANT wOT_ELLIPSE
19 CONSTANT wOT_CYLINDER
20 CONSTANT wOT_CONE
21 CONSTANT wOT_CUTCONE
22 CONSTANT wOT_ELLIPSOID
23 CONSTANT wOT_HYPERBOL
24 CONSTANT wOT_ELLIPSEG
25 CONSTANT wOT_TOROID
26 CONSTANT wOT_SPLINE
27 CONSTANT wOT_GROUP
28 CONSTANT wOT_SYMLINK
29 CONSTANT wOT_TRISET
32 CONSTANT wOT_SKELETON
33 CONSTANT wOT_OFFSET
34 CONSTANT wOT_LINE
35 CONSTANT wOT_COORD
36 CONSTANT wOT_OBSERVER
37 CONSTANT wOT_AIMPOINT
38 CONSTANT wOT_ATTR
( Flags for fetching Object Properties using O_PROP
2 0 POW CONSTANT iOP_COG
2 1 POW CONSTANT iOP_SIZE
2 2 POW CONSTANT iOP_DIR
( 2 3 POW CONSTANT iOP_RESERVED
2 4 POW CONSTANT iOP_MASS
( Object Field Offsets
0 CONSTANT O.aNEXT
4 CONSTANT O.aSUB
8 CONSTANT O.wTYPE
10 CONSTANT O.sNAME
26 CONSTANT O.iFLAGS
30 CONSTANT O.aPRIM ( address of primitive data defined below
34 CONSTANT O.wMETHOD
36 CONSTANT O.aTAGS
( Offsets for accessing primitive fields
0 CONSTANT P.aEOM ( actual geometry
4 CONSTANT P.iRGBA ( Red Green Blue Alpha
24 CONSTANT P.wEGCOL ( Palette index
26 CONSTANT P.wPTRN ( Line pattern
?ENDIF ( OBJECTS.RPL